<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<%
	String path = request.getContextPath();
	// 获得本项目的地址(例如: http://localhost:8080/MyApp/)赋值给basePath变量 
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
	// 将 "项目路径basePath" 放入pageContext中，待以后用EL表达式读出。 
	pageContext.setAttribute("basePath", basePath);
	//out.write(basePath);
%>

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>查询用户信息</title>

<meta name="description"
	content="Source code generated using layoutit.com">
<meta name="author" content="LayoutIt!">

<link href="<%=basePath%>bootstrap/css/bootstrap.min.css"
	rel="stylesheet">
<link href="<%=basePath%>bootstrap/css/style.css" rel="stylesheet">



</head>
<body>

	<div id="container" align="center">
		<div style="width: 500px;" align="left">
			<h4 align="center">查询用户信息</h4>
			<form class="form-horizontal" role="form"
				action="<%=basePath%>ModifyAdminInfo" method="post">

				<input type="hidden" id="opt" name="opt" value="2">

				<div class="form-group">
					<label for="inputUserName" class="col-sm-2 control-label">用户名&nbsp;</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="inputUserName"
							name="inputUserName" placeholder=用户名>
					</div>
				</div>

				<div class="form-group">
					<label for="inputUserSex" class="col-sm-2 control-label">性&nbsp;&nbsp;&nbsp;别&nbsp;&nbsp;</label>
					<div class="col-sm-10">
						<label class="radio-inline"> <input type="radio"
							name="inputUserSex" id="selectSex1" value="男"> 男
						</label> <label class="radio-inline"> <input type="radio"
							name="inputUserSex" id="selectSex2" value="女"> 女
						</label>
					</div>
				</div>

				<div class="form-group">
					<label for="inputUserAge" class="col-sm-2 control-label">年&nbsp;&nbsp;&nbsp;龄&nbsp;&nbsp;</label>
					<div class="col-sm-5">
						<select class="form-control" id="inputUserAge" name="inputUserAge">
							<option value=""></option>
							<c:forEach begin="18" end="60" varStatus="vst">
								<option value="${vst.index}">${vst.index}</option>
							</c:forEach>
						</select>
					</div>
					<div class="col-sm-5">
						<select class="form-control" id="inputUserAge"
							name="inputUserAge2">
							<option value=""></option>
							<c:forEach begin="18" end="60" varStatus="vst">
								<option value="${vst.index}">${vst.index}</option>
							</c:forEach>
						</select>
					</div>
				</div>

				<div class="form-group">
					<label for="inputUserTel" class="col-sm-2 control-label">联系方式</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="inputUserTel"
							name="inputUserTel" placeholder=联系方式>
					</div>
				</div>

				<div class="form-group">
					<label for="inputUserAdress" class="col-sm-2 control-label">地&nbsp;&nbsp;&nbsp;址&nbsp;&nbsp;</label>
					<div class="col-sm-10">
						<input type="text" class="form-control" id="inputUserAdress"
							name="inputUserAdress" placeholder=地址>
					</div>
				</div>

				<div class="form-group">
					<div class="col-sm-offset-2 col-sm-10">
						<button type="submit" class="btn btn-default">查询</button>
					</div>
				</div>

			</form>
		</div>
	</div>

	<script src="<%=basePath%>bootstrap/js/jquery.min.js"></script>
	<script src="<%=basePath%>bootstrap/js/bootstrap.min.js"></script>
	<script src="<%=basePath%>bootstrap/js/scripts.js"></script>

</body>
</html>